package org.clipjoint.service;

import org.clipjoint.entity.dto.GameDto;
import org.clipjoint.entity.Game;

import java.sql.SQLException;
import java.util.List;

/**
 * @author 陈光耀
 * @date 2021/2/22
 */
public interface GameAdminService {

    List<Game> list(GameDto gameDto) throws SQLException;

    Long count(GameDto gameDto) throws SQLException;

    int add(Game game) throws SQLException;

    int deleteAll(List<Long> ids);

    Game getOneById(Long id) throws SQLException;

    int delete(Long id) throws SQLException;

    int update(Game game) throws SQLException;

}
